#ifndef __AS_CONFIRM_SCREEN__H__
#define __AS_CONFIRM_SCREEN__H__

#include "ASScreen.h"
#include "ASScreenMgr.h"
#include "..\control\ASImage.h"
#include "..\control\ASButton.h"

typedef struct
{
    as_screen base;

    as_image* bottom_bar_bg_p;
    as_button* lbtn_p;
    as_button* rbtn_p;
    as_label* content;
} as_confirm_screen;

/*init and deinit functions are just called by screen stack.*/
void as_confirm_screen_init(as_screen* screen_p);
void as_confirm_screen_deinit(as_screen* screen_p);

/*
 *	[description] show a confirm screen
 *  [param] content : confirm content
 *  [param] lsk_text : text for lsk
 *  [param] rsk_text : text for rsk
 *  [param] lsk_func : function for lsk
 *  [param] rsk_func : function for rsk
 *  [attention] : all string should be encoded as gb2312.
 */
void as_show_confirm_screen(ASSTR content, ASSTR lsk_text, ASSTR rsk_text,
                            as_void_func lsk_func, as_void_func rsk_func);

void as_show_exit(void);
#endif//__AS_CONFIRM_SCREEN__H__